<!--
 * @Autor: 张小鹏
 * @Date: 2020-04-17 15:50:59
 * @LastEditors: 张小鹏
 * @LastEditTime: 2020-04-26 16:47:42
 * @description: 
 -->
<template>
  <div class="main">
    <el-form :inline="true"  class="demo-form-inline">
      <el-form-item label="省份">
        <org-select ref="province" size="medium" @change="handleProvSelect" placeholder="选择省份" :regionSelect="['省份']"></org-select>
      </el-form-item>
      <el-form-item label="城市">
        <org-select size="medium" @change="handleCitySelect" placeholder="选择城市" :regionSelect="['省份','城市']"></org-select>
      </el-form-item>
     <el-form-item label="县或区">
        <org-select size="medium" @change="handleAreaSelect" placeholder="选择县或区" :regionSelect="['省份','城市','县']"></org-select>
      </el-form-item>
    </el-form>
  </div>
</template>

<script>
export default {
  components: {},
  data() {
    return {};
  },
  mounted() {

  },
  methods: {
      handleProvSelect(orgselect){

      },
      handleCitySelect(orgselect){
          
      },
      handleAreaSelect(orgselect){
          
      }
  }
};
</script>
<style>
.main{
    margin-top:20px;
}
</style>
